// 存放状态
const state = {
  routes: {
     messageType:{
       0:'公告',
       1:'通知'
     },
  },
  rules: {
    title: [
      { required: true, message: "请输入标题", trigger: "blur" }
    ],
    type: [
      { required: true, message: "请选择类型", trigger: ["blur","change"] }
    ],
  
  }
};

// 更改state中状态的逻辑，同步操作
const mutations = {};

// 提交mutation，异步操作
const actions = {};

export default {
  namespaced: true,
  state,
  mutations,
  actions
};
